#pragma once
#include "Fysics/Renderer/RenderExecutant.h"

namespace Fysics
{
	class OpenGLExecutant : public RenderExecutant
	{
	public:
		virtual ~OpenGLExecutant() {  }
		virtual void SetClearColor(const glm::vec4& color) override;
		virtual void Clear() override;
		virtual void CloseDepthTest() override;
		virtual void OpenDepthTest() override;
		virtual void RenderSide(int side, int screenWidth, int screenHeight) override;

		virtual void DrawIndexed(const VertexArray* vertexArray) override;
		virtual void DrawLine(const VertexArray* vertexArray, float width) override;
		virtual void DrawPoints(const VertexArray* vertexArray, float size) override;
	};
}